package xyz.labmem.base.sys.module.auth.service

import xyz.labmem.base.core.result.RV
import xyz.labmem.base.sys.module.auth.controller.request.AuthRequest

/**
 * @Author lty
 * @Date 2021/12/20 14:03
 */
interface AuthService {

    fun login(req: AuthRequest, isAdmin: Int): RV<*>

    fun updateUserPermission(userId: String): List<String>

    fun updateUserRole(userId: String): List<String>

}